get_current_dir(){
  get_current_system >/dev/null 2>&1
  if [ current_system=="windows" ];then
    current_project_dir=`cygpath -w $(pwd)`
  else
    current_project_dir=`pwd`
  fi
  echo "$current_project_dir"
  export current_project_dir=$current_dir
}

get_current_system(){
  uname -s | grep NT >/dev/null 2>&1
  if [ $? -eq 0 ];then
    current_system="windows"
  else
    current_system="linux"
  fi
  echo "$current_system"
  export current_system=$current_system
}

get_use_winpty(){
  get_current_system >/dev/null 2>&1
  if [ current_system=="windows" ];then
    use_winpty="winpty"
  else
    use_winpty=""
  fi
  echo "$use_winpty"
  export use_winpty=$use_winpty
}